import React, { useEffect, useState } from "react";
import http from "../../http";
import { useParams } from "react-router";

export default function Formation() {
  const [berlist, berList] = useState({});
  const params = useParams();
  const { id } = params;
  const ppp = useState({
    userId: 331,
    sessionId: 3230,
  });
  console.log(id);
  const getFor = async () => {
    const res: any = await http.get("/health/user/verify/v1/getUserInfoById", {
      params: ppp,
    });
    console.log(res);
  };
  useEffect(() => {
    getFor();
  }, []);
  return <div>用户信息</div>;
}
